import request from '@/utils/request'
export function save(data) {
  return request({
    url: '/qu/save',
    method: 'post',
    data
  })
}
export function list(data) {
  return request({
    url: '/qu/page',
    method: 'post',
    data
  })
}
export function deleteById(id) {
  return request({
      url: `/qu/delete/${id}`,
      method: 'get',
  })
}
export function deleteByIds(quIds) {
  return request({
      url: `/qu/delete`,
      method: 'delete',
      data: quIds
  })
}
export function findById(id) {
  return request({
      url: `/qu/findOne/${id}`,
      method: 'post',
  })
}

export const upladAddress = "http://fy-exam-api:8080"
